…is here to help you get started building the QuickDraw GX sample code using THINK C 6.0 or later. It contains a some tips to help you on your way. You'll probably be able to set things up on your own, but here's how to proceed if you're not quite sure what to do with all this stuff.
Setting up your development environment for THINK C
(All of the files mentioned here are in folders within the SDK CD's "Programming Stuff" folder. The suggestions for renaming the folders are merely that-- the names are not critical.)
• Open the "QuickDraw™ GX Interfaces & Libs" folder.
Drag the folder "CIncludes" to your Think "Mac #includes" folder.
Rename this folder as "QuickDraw™ GX CIncludes."
Drag the folder "RIncludes" to your Think "Mac #includes" folder.
Rename this folder as "QuickDraw™ GX RIncludes."
• Open the "QuickDraw™ GX Libraries" folder.
Drag the folder "CIncludes" to your Think "Mac #includes" folder.
Rename this folder as "QuickDraw™ GX Lib CIncludes."
Drag the folders "Graphics Libraries" & "Printing Libraries" to your Think "Mac Libraries" folder.
Rename these folders as "QDGX Graphics Libraries" and "QDGX Printing Libraries"
Which universal interfaces?
For consistency, all samples on this CD were built using the Apple universal interfaces from ETO #15. While the universal interfaces that Think provides will probably work as well, here's how to set up your interfaces as we did:
• Remove the "Apple #includes" folder from your Think "Mac #includes" folder.
You can just drag this to a higher level for safe keeping in case you want to revert to the Think interfaces for some
reason.
• Open the "ETO #15 MPW Interfaces" folder.
Drag the folder "CIncludes" to your Think "Mac #includes" folder.
Rename this folder as "ETO #15 CIncludes."
Drag the folder "RIncludes" to your Think "Mac #includes" folder.
Rename this folder as "ETO #15 RIncludes."
• Open the "ETO #15 ColorSync Interfaces" folder.
Drag the folder "CIncludes" to your Think "Mac #includes" folder.
Rename this folder as "ETO #15 ColorSync CIncludes."
Drag the folder "RIncludes" to your Think "Mac #includes" folder.
Rename this folder as "ETO #15 RIncludes."
Other requirements
You will also need to set the "Prefix" in your Think C options dialog. Your prefix should be set to the following. (For all Think C samples on this CD, a suitable prefix is already stored in the project files.)
#define debugging 1
// The following two typedef's are to work around a bug in the ETO #15
// Universal headers -- the headers only typedef float_t and double_t
// for "applec" and "powerc". When this is eventually fixed, these